<?php
declare (strict_types = 1);

namespace app\product\model;

/**
 * @mixin \think\Model
 */
class ProductAttrValueModel extends BaseModel
{
    protected $table = 'tb_product_attr_values';

    const WITH_ATTR_NAME = 'attr_name';
    public function attrName(){
        return $this->hasMany('app\product\model\ProductAttrNameModel', 'id','attr_name_id');
    }
}
